package chpt05.shopping.dao;

import java.util.ArrayList;
import java.util.List;
import chpt05.shopping.Commodity;

public class CommodityDataGenerator {
	public static List<Commodity> generateData() {
        List<Commodity> testData = new ArrayList<>();
        Commodity c1 = new Commodity(1, "苹果", 2.0, "新鲜多汁的苹果");
        Commodity c2 = new Commodity(2, "香蕉", 1.0, "成熟甜美的香蕉");
        Commodity c3 = new Commodity(3, "橙子", 2.5, "酸甜可口的橙子");
        Commodity c4 = new Commodity(4, "芒果", 4.0, "异国风情的芒果");
        Commodity c5 = new Commodity(2, "李子", 1.5, "脆甜多汁的梨子");
        testData.add(c1);testData.add(c2);testData.add(c3);
        testData.add(c4);testData.add(c5);
        return testData;
	}
}
